Appendix A Standard Errors

Here is the complete list of the error symbols in standard Emacs, grouped by concept. The list includes each symbol’s message (on the error-message property of the symbol), and a cross reference to a description of how the error can occur.

Each error symbol has an error-conditions property which is a list of symbols. Normally, this list includes the error symbol itself, and the symbol error. Occasionally it includes additional symbols, which are intermediate classifications, narrower than error but broader than a single error symbol. For example, all the errors in accessing files have the condition file-error.

As a special exception, the error symbol quit does not have the condition error, because quitting is not considered an error.

@xref{Errors}, for an explanation of how errors are generated and handled.

symbol

string; reference.

error

"error"
@xref{Errors}.

quit

"Quit"
@xref{Quitting}.

args-out-of-range

"Args out of range"
@xref{Sequences Arrays Vectors}.

arith-error

"Arithmetic error"
See / and % in @ref{Numbers}.

beginning-of-buffer

"Beginning of buffer"
@xref{Motion}.

buffer-read-only

"Buffer is read-only"
@xref{Read Only Buffers}.

end-of-buffer

"End of buffer"
@xref{Motion}.

end-of-file

"End of file during parsing"
This is not a file-error.
@xref{Input Functions}.

file-error

This error, and its subcategories, do not have error-strings, because the error message is constructed from the data items alone when the error condition file-error is present.
@xref{Files}.

file-locked

This is a file-error.
@xref{File Locks}.

file-already-exists

This is a file-error.
@xref{Writing to Files}.

file-supersession

This is a file-error.
@xref{Buffer Modification}.

invalid-function

"Invalid function"
@xref{Classifying Lists}.

invalid-read-syntax

"Invalid read syntax"
@xref{Input Functions}.

invalid-regexp

"Invalid regexp"
@xref{Regular Expressions}.

no-catch

"No catch for tag"
@xref{Catch and Throw}.

search-failed

"Search failed"
@xref{Searching and Matching}.

setting-constant

"Attempt to set a constant symbol"
The values of the symbols nil and t may not be changed.
@xref{Constant Variables, , Variables that Never Change}.

void-function

"Symbol's function definition is void"
@xref{Function Cells}.

void-variable

"Symbol's value as variable is void"
@xref{Accessing Variables}.

wrong-number-of-arguments

"Wrong number of arguments"
@xref{Classifying Lists}.

wrong-type-argument

"Wrong type argument"
@xref{Type Predicates}.


This document was generated on January 16, 2023 using texi2html 5.0.